// components/progress/progress.js
import Canvas from '../../utils/canvas'
console.log(Canvas)
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    maskShow: {
      type: Boolean,
      observer (show) {
        if (show) {
          this.draw('runCanvas',100,2000);
        }
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    ...Canvas.data,
  },
  ready() {
  },
  /**
   * 组件的方法列表
   */
  methods: {
    ...Canvas.options,
  }
})
